home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 2 / Atari Mega Archive CD - Volume 2.iso / 8bit / cislib_a / bigst.act < prev    next >
Text File  |  1995-04-22  |  1KB  |  60 lines

  1.  
  2. ;      BIGST.ACT 
  3.  
  4. ; copyright (c) 1984 
  5. ; by Action Computer Services 
  6. ; All Rights Reserved 
  7.  
  8. ; This program will create a big 
  9. ; global symbol table (max 510 
  10. ; entries, normally 255) when run. 
  11. ; It will boot the cartridge as well, 
  12. ; so you must not have anything in 
  13. ; the Editor that you want.  It does 
  14. ; not increase the space used to 
  15. ; store variable names.  If you want 
  16. ; to increase this as well, you will 
  17. ; have to 'SET $495 = #' in the 
  18. ; monitor after running this program. 
  19. ; # is the number of pages you want 
  20. ; to be used for name storage (each 
  21. ; page is 256 bytes, default is 8). 
  22.  
  23. ; You must use the correct version of 
  24. ; Cold below: 
  25.  
  26. ; version 3.0 ACTION! ROM 
  27. ;PROC Cold=$A323()[] 
  28.  
  29. ; version s 3.1 to 3.6 ACTION! ROMs 
  30. PROC Cold=$A326()[] 
  31.  
  32.  
  33. PROC BigSymbolTable() 
  34.   CHAR bigST=$4C4 
  35.   BYTE EBank=$D503 
  36.  
  37.   Zero($480, 255) 
  38.  
  39. ; following statement causes all 
  40. ; variables starting with uppercase 
  41. ; letters to go into one half of the 
  42. ; global symbol table and variables 
  43. ; starting with lowercase letters to 
  44. ; go into other half (255 entries in 
  45. ; each half).  If you use mostly 
  46. ; uppercase variable (this includes 
  47. ; PROC/FUNC names) use 'M.  If you 
  48. ; use mostly lowercase variables then 
  49. ; use 'm. 
  50.  
  51.   bigST = 'a 
  52.  
  53. ; boot cartridge with big S.T.   
  54. ; Will not return. 
  55.  
  56.   EBank = 0 
  57.   Cold() 
  58. RETURN 
  59.  
  60.